<form action="{:url()}" method="post" class="form_single">
    <div class="box">
        <div class="box-body">
            <div class="row">

                <div class="col-md-12">
                    <div class="form-group">
                        <label>公司名称</label>
                        <input class="form-control" name="campany_name" placeholder="请输入公司称" value="{$info['campany_name']|default=''}" type="text">
                    </div>
                </div>

                <div class="col-md-6">
                    <div class="form-group">
                        <label>排序</label>
                        <span class=""></span>
                        <input class="form-control" name="sort" placeholder="请输入序号" value="{$info['sort']|default=0}" type="text">
                    </div>
                </div>

                <div class="col-md-6">
                    <div class="form-group">
                        <label>LOGO图片</label>
                        <span class="">（建议上传 252×120 的图片）</span>
                        <br/>
                        {assign name="logo_id" value="$info.logo_id|default='0'" /}
                        {:widget('file/index', ['name' => 'logo_id', 'value' => $logo_id, 'type' => 'img'])}
                    </div>
                </div>


                <div class="box-footer">

                    <input type="hidden" name="id" value="{$info['id']|default='0'}"/>

                    {include file="layout/edit_btn_group"/}

                </div>

            </div>
        </div>
</form>